console.log(1_000_000_000 * 2)

console.log(6.02e23)

console.log(6.02*(Math.pow(10,23)) === 6.02e23)

const result1 = 6.02 * Math.pow(10, 23);
const result2 = 6.02e23;
const result3 = 6.02 * 10**23
console.log('3',result3)
console.log(result1 === result2);  
console.log('2',result2 === 602_000_000_000_000_000_000_000)
console.log(602_000_000_000_000_000_000_000)
console.log(result1)
console.log(result2)
console.log(Math.abs(result1 - result2))
console.log(Math.abs(result2 - result1) < Number.EPSILON);

function approximateEqual(num1, num2, epsilon) {
  const diff = Math.abs(num1 - num2);
  return diff < epsilon;
}

console.log(approximateEqual(result1, result2, 0.0001));  // 输出 true